package com.webbei.pojo;

import java.util.Date;

/**
 * 退款订单信息
 * @author webbei
 *
 */
public class RefundOrder {
	private Long refundid;
	private Long orderid;
	private Long tradeid;
	private String refundFee;
	private String payment;
	private String reason;
	private String title;
	private String totalFee;
	private Long num;
	private Date created;
	private String buyerNick;
	
	public String getBuyerNick() {
		return buyerNick;
	}
	public void setBuyerNick(String buyerNick) {
		this.buyerNick = buyerNick;
	}
	public Long getRefundid() {
		return refundid;
	}
	public void setRefundid(Long refundid) {
		this.refundid = refundid;
	}
	public Long getOrderid() {
		return orderid;
	}
	public void setOrderid(Long orderid) {
		this.orderid = orderid;
	}
	public String getRefundFee() {
		return refundFee;
	}
	public void setRefundFee(String refundFee) {
		this.refundFee = refundFee;
	}
	public String getPayment() {
		return payment;
	}
	public void setPayment(String payment) {
		this.payment = payment;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((refundid == null) ? 0 : refundid.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		RefundOrder other = (RefundOrder) obj;
		if (refundid == null) {
			if (other.refundid != null)
				return false;
		} else if (!refundid.equals(other.refundid))
			return false;
		return true;
	}
	
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getTotalFee() {
		return totalFee;
	}
	public void setTotalFee(String totalFee) {
		this.totalFee = totalFee;
	}
	
	public Long getTradeid() {
		return tradeid;
	}
	public void setTradeid(Long tradeid) {
		this.tradeid = tradeid;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	
	public Long getNum() {
		return num;
	}
	public void setNum(Long num) {
		this.num = num;
	}
	@Override
	public String toString() {
		return "RefundOrder [created=" + created + ", num=" + num
				+ ", orderid=" + orderid + ", payment=" + payment + ", reason="
				+ reason + ", refundFee=" + refundFee + ", refundid="
				+ refundid + ", title=" + title + ", totalFee=" + totalFee
				+ ", tradeid=" + tradeid + "]";
	}

}
